package com.momoauth.common.security.annotation;

import com.momoauth.common.security.enumeration.Logical;

import java.lang.annotation.*;

/**
 * 指定操作权限
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequiresPermissions {
    String[] value() default {};
    Logical logical() default Logical.OR;
}
